<%-- 
    Document   : TCube - CreateMerchantAccountConfirm
    Created on : Sep 27, 2011, 7:43:00 AM
    Author     : Belinda
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="java.util.ArrayList, BusinessLogic.Constants"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <!-- InstanceBegin template="../TransactWeb/Templates/FdSageAdmin.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <!-- InstanceBeginEditable name="doctitle" -->
        <title>Create Merchant Account</title>
        <!-- InstanceEndEditable -->
        <script language="javascript" type="text/javascript" src="../TransactWeb/js/jquery-1.6.4.min.js"></script>
        <script type="text/javascript" src="../TransactWeb/js/fieldsetCollapse.js"></script>
        <script type="text/javascript" src="../TransactWeb/js/tcubmenu.js"></script>
        <link rel="stylesheet" type="text/css" href="../TransactWeb/css/tcubaccd.css" />
        <link rel="stylesheet" type="text/css" href="../TransactWeb/css/templatestyle.css" />
        <link rel="stylesheet" type="text/css" href="../TransactWeb/css/tcubeadmin.css" />
        <link rel="stylesheet" type="text/css" href="../TransactWeb/css/gridsys.css" />
        <link rel="stylesheet" type="text/css" href="../TransactWeb/css/reset1.css" />
        <!-- InstanceBeginEditable name="head" -->
        <!-- InstanceEndEditable -->
        <!-- InstanceParam name="leftnav" type="boolean" value="true" -->
        <link href="../TransactWeb/css/gridsys.css" rel="stylesheet" type="text/css" />
        <link href="../TransactWeb/css/templatestyle.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <div id="header_bg">
            <div class="container_12" id="tcubelang_bar">
                <div class="grid_6 push_5" id="tcubelang">
                    <table width="480" border="0">
                        <tr>
                            <td width="60">Home</td>
                            <td width="70">Inbox(0)</td>
                            <td width="105">Your Account</td>
                            <td width="50">FAQ</td>
                            <td width="135">Technical Support</td>
                            <td width="60">Log Out</td>

                        </tr>
                    </table>
                </div>
            </div>
            <div class="container_12"> 
                <div class="grid_9 push_3 tcubeheader_menu">Administration Panel</div>

                <div class="clear"></div>

            </div>

        </div>
        <div id="login">
            <div class="container_12">
                <div class="grid_5" id="welcome"> Welcome User! &nbsp; &nbsp;Friday 23 September 2011 15:43:32</div>

            </div>
        </div> 

        <!-- InstanceEndRepeatEntry --><!-- InstanceEndRepeat -->
        <!-- InstanceBeginEditable name="leftnav" -->
        <div class="container_12"> <!-- container 12 overflows to content side -->
            <div class="grid_4">
                <div class="panel">
                    <ul id="menu3" class="menu noaccordion">
                        <li><a class="nav">TCUBE : USER01</a></li>
                        <li><a class="nav">Admin Panel</a></li>
                        <!-- Current section -->
                        <li>
                            <a href="#">Merchant Management</a>
                            <ul>
                                <li><a href="FdSg_createmerchantaccount.html" id="menuselect">Create Account</a></li>
                                <li><a href="FdSg_viewmerchantaccount.html">View / Update / Delete Account</a></li>
                            </ul>
                        </li>
                        <!-- End of selected section -->
                        <li>
                            <a href="#">Menu Management</a>
                            <ul class="notselected">
                                <li><a href="FdSg_createmenu.html">Create Menu</a></li>
                                <li><a href="FdSg_viewmenu.html">View / Update / Delete Menu</a></li>

                            </ul>
                        </li>
                        <li>
                            <a href="#">Item Management</a>
                            <ul class="notselected">
                                <li><a href="FdSg_additem.html">Add Item</a></li>
                                <li><a href="FdSg_viewitem.html">View / Delete Items</a></li>
                            </ul>
                        </li>
                        <li>
                            <a href="#">Service Plan Management</a>
                            <ul class="notselected">
                                <li><a href="FdSg_createplan.html">Create Plan</a></li>
                                <li><a href="FdSg_viewplan.html">View / Update Plans</a></li>
                            </ul>
                        </li>
                        <li>
                            <a href="#">Cube Management</a>
                            <ul class="notselected">
                                <li><a href="FdSg_createcute.html">Add Cubes</a></li>
                                <li><a href="FdSg_viewlivecubes.html">View Live Cubes</a></li>
                                <li><a href="FdSg_viewcubes.html">View / Delete Cubes</a></li>
                            </ul>
                        </li>
                        <li>
                            <a href="#">Billing Management</a>
                            <ul class="notselected">
                                <li><a href="FdSg_addtransaction.html">Add Transaction</a></li>
                                <li><a href="FdSg_viewtransaction.html">View / Modify Transaction</a></li>
                                <li><a href="FdSg_viewvoidtransaction.html">Void Transaction</a></li>
                                <li><a href="FdSg_generateinvoice.html">Generate Invoice</a></li>
                                <li><a href="FdSg_viewinvoice.html">View Invoice</a></li>
                            </ul>
                        </li>
                    </ul>	
                </div>
            </div>
            <!-- InstanceEndEditable -->
            <!-- InstanceBeginEditable name="Content" -->
            <div class="grid_8 formname">Confirm Merchant Details
                <table width="636" border="0" class="form">
                    <tr>
                        <td colspan="2" class="createcat">Merchant Login</td>
                    </tr>
                    <tr>
                        <td width="173">Username : </td>
                        <td width="129"><%= request.getParameter("username")%></td>
                    </tr>
                    <tr>
                        <td>Password :</td>
                        <td><%= request.getParameter("password")%></td>
                    </tr>
                    <tr>
                        <td>Company Name : </td>
                        <td><%= request.getParameter("partnerName")%></td>
                    </tr>
                    <tr>
                        <td>Account Access Level : </td>
                        <td><%= request.getParameter("accesslvl")%></td>
                    </tr>
                    <tr>
                        <td colspan="2">&nbsp;</td>
                    </tr>
                    <tr>
                        <td colspan="2" class="createcat">Manager</td>
                    </tr>
                    <tr>
                        <td>First Name : </td>
                        <td><%= request.getParameter("mgrfname")%></td>
                    </tr>
                    <tr>
                        <td>Last Name : </td>
                        <td><%= request.getParameter("mgrlname")%></td>
                    </tr>
                    <tr>
                        <td>NRIC : </td>
                        <td><%= request.getParameter("nric")%></td>
                    </tr>
                    <tr>
                        <td>Gender : </td>
                        <td><%= request.getParameter("gender")%></td>
                    </tr>
                    <tr>
                        <td>Contact Number : </td>
                        <td> + <%= request.getParameter("mgrCountryCode")%> 
                            - <%= request.getParameter("mgrContact")%>
                        </td>
                    </tr>
                    <tr>
                        <td>Email : </td>
                        <td><%= request.getParameter("mgrEmail")%></td>
                    </tr>
                    <tr>
                        <td>Country : </td>
                        <td><%= request.getParameter("mgrCountry")%></td>
                    </tr>
                    <tr>
                        <td>Province : </td>
                        <td><%= request.getParameter("mgrProvince")%></td>
                    </tr>
                    <tr>
                        <td>City : </td>
                        <td><%= request.getParameter("mgrCity")%></td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td colspan="2" class="createcat">Merchant General Details</td>
                    </tr>
                    <tr>
                        <td>Business Address : </td>
                        <td><%= request.getParameter("bizAddress1")%> <br/>
                            <%= request.getParameter("bizAddress2")%> <br /><br />

                        </td>
                    </tr>
                    <tr>
                        <td>Business Address Postal Code : </td>
                        <td><%= request.getParameter("bizPostal")%></td>
                    </tr>
                    <tr>
                        <td>Contact Number : </td>
                        <td> + <%= request.getParameter("parCountryCode")%>
                            - <%= request.getParameter("parContact")%>
                        </td>
                    </tr>
                    <tr>
                        <td>Country : </td>
                        <td><%= request.getParameter("parCountry")%></td>
                    </tr>
                    <tr>
                        <td>Province : </td>
                        <td><%= request.getParameter("parProvince")%></td>
                    </tr>
                    <tr>
                        <td>City : </td>
                        <td><%= request.getParameter("parCity")%></td>
                    </tr>
                    <tr>
                        <td>Business Email : </td>
                        <td><%= request.getParameter("bizEmail")%></td>
                    </tr>
                    <tr>
                        <td>Business Sector : </td>
                        <td><%= request.getParameter("bizSector")%></td>
                    </tr>
                    <tr>
                        <td colspan="2">&nbsp;</td>
                    </tr>
                    <tr>
                        <td colspan="2" class="createcat">Billing Details </td>
                    </tr>
                    <tr>
                        <td>Billing Address : <br />
                            (if similar to business address, leave empty)</td>
                        <td><%= request.getParameter("billaddress1")%><br/>
                            <%= request.getParameter("billaddress2")%><br/><br/>
                        </td>
                    </tr>
                    <tr>
                        <td>Billing Postal Code : <br />
                            (if similar to business address, leave empty)
                        </td>
                        <td><%= request.getParameter("billpostal")%></td>
                    </tr>
                    <tr>
                        <td colspan="2">&nbsp;</td>
                    </tr>
                </table>


                <table>
                    <form id="merAccCfm" name="merAccCfm" action="CreateMerchantAccountStatus.jsp" method="POST">
                        <!-- Manager -->
                        <input type="hidden" value="<%= request.getParameter("username")%>" name="username">
                        <input type="hidden" value="<%= request.getParameter("password")%>" name="password">                      
                        <input type="hidden" value="<%= request.getParameter("accesslvl")%>" name="accesslvl">
                        <input type="hidden" value="<%= request.getParameter("mgrfname")%>" name="mgrfname">
                        <input type="hidden" value="<%= request.getParameter("mgrlname")%>" name="mgrlname">
                        <input type="hidden" value="<%= request.getParameter("nric")%>" name="nric">
                        <input type="hidden" value="<%= request.getParameter("gender")%>" name="gender">
                        <input type="hidden" value="<%= request.getParameter("mgrCountryCode")%>" name="mgrCountryCode">
                        <input type="hidden" value="<%= request.getParameter("mgrContact")%>" name="mgrContact">
                        <input type="hidden" value="<%= request.getParameter("mgrEmail")%>" name="mgrEmail">
                        <input type="hidden" value="<%= request.getParameter("mgrCountry")%>" name="mgrCountry">
                        <input type="hidden" value="<%= request.getParameter("mgrProvince")%>" name="mgrProvince">
                        <input type="hidden" value="<%= request.getParameter("mgrCity")%>" name="mgrCity">


                        <!-- Partner -->  
                        <input type="hidden" value="<%= request.getParameter("partnerName")%>" name="partnerName">
                        <input type="hidden" value="<%= request.getParameter("bizAddress1")%>" name="bizAddress1">
                        <input type="hidden" value="<%= request.getParameter("bizAddress2")%>" name="bizAddress2">
                        <input type="hidden" value="<%= request.getParameter("bizPostal")%>" name="bizPostal">
                        <input type="hidden" value="<%= request.getParameter("parCountryCode")%>" name="parCountryCode">
                        <input type="hidden" value="<%= request.getParameter("parContact")%>" name="parContact">
                        <input type="hidden" value="<%= request.getParameter("parCountry")%>" name="parCountry">
                        <input type="hidden" value="<%= request.getParameter("parProvince")%>" name="parProvince">
                        <input type="hidden" value="<%= request.getParameter("parCity")%>" name="parCity">
                        <input type="hidden" value="<%= request.getParameter("bizEmail")%>" name="bizEmail">
                        <input type="hidden" value="<%= request.getParameter("bizSector")%>" name="bizSector">
                        <input type="hidden" value="<%= request.getParameter("billaddress1")%>" name="billaddress1">
                        <input type="hidden" value="<%= request.getParameter("billaddress2")%>" name="billaddress2">
                        <input type="hidden" value="<%= request.getParameter("billpostal")%>" name="billpostal">

                        <td colspan="2" align="center">
                            <input type="submit" name="submit" id="confirmMer" value="Confirm" />
                        </td>
                        </tr>
                    </form>
                </table>

                <!-- InstanceEndEditable -->
                <!-- InstanceBeginRepeat name="Footer" --><!-- InstanceBeginRepeatEntry -->
                <div id="footer_bar">
                    <div class="container_12">
                        <div class="grid_12" id="footer">&copy; &nbsp;Copyright FoodSage</div>
                    </div>
                </div><!-- InstanceEndRepeatEntry --><!-- InstanceEndRepeat -->
                </body>
                </html>
